package ysq.xyg.service;


import com.github.pagehelper.PageInfo;
import ysq.xyg.model.MyNews;

import java.util.List;

/**
 * @author yu sheng qiang
 * @create 2017-03-22 15:36
 **/
public interface MyNewsService extends BaseService<MyNews> {

    /**
     * 分页查询
     */
    PageInfo<MyNews> pageInfo(MyNews myNews, int pageSize, int pageNum);
    PageInfo<MyNews> pageInfoLeft(MyNews myNews, int pageSize, int pageNum);
    List<MyNews> list(MyNews myNews);
}
